package com.wanmait.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wanmait.movie.entity.Lobby;
import com.wanmait.movie.entity.VO.LobbyVO;
import com.wanmait.movie.entity.request.manage.lobby.AddLobbyRequest;
import com.wanmait.movie.entity.request.manage.lobby.UpLobbySeatRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface LobbyService extends IService<Lobby> {
    List<Lobby> getLobbyListByCinemaId(Integer id);

    int getCinemaIdByLobbyId(Integer lobbyId);

    List<LobbyVO> getLobbyInfo();

    Integer addLobby(AddLobbyRequest lobbyRequest, HttpServletRequest request);

    boolean upLobbySeat(UpLobbySeatRequest upLobbySeatRequest, HttpServletRequest request);
}
